package cn.tedu.medicalpath.prescription.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import java.util.Date;

//处方单保存参数
@Data
public class PrescriptionSaveParam {
    @ApiModelProperty(value = "自增主键，唯一标识处方单信息")
    private Long id;
    @ApiModelProperty(value = "患者ID，非空，关联到患者信息表")
    @Min(value = 1, message = "patientId must be a non-negative integer")
    private Long patientId;
    @ApiModelProperty(value = "医生ID，非空，关联到医生信息表")
    @Min(value = 1, message = "doctorId must be a non-negative integer")
    private Long doctorId;
    @ApiModelProperty(value = "处方状态，默认值为'10'，表示未支付")
    private String status;
    @ApiModelProperty(value = "诊断结果，最大长度255字符")
    private String diagnosis;
    @ApiModelProperty(value = "备注信息，最大长度255字符")
    private String remark;
    @ApiModelProperty(value = "处方金额，以整数形式存储（例如：单位为分）")
    private Integer price;
    @ApiModelProperty(value = "医保结算金额，以整数形式存储（例如：单位为分）")
    private Integer insurancePrice;
}
